	function catid($field, $value, $fieldinfo) {
		if(!$value) {$value = $this->catid;}
		$publish_str = '';
		
		if(defined('IN_ADMIN') && ROUTE_A=='add')
		{ 
			$publish_str = '<script language="JavaScript">
								function catid_select(catid) {
									location.href="index.php?m=model&c=content&a=priview&siteid=1&catid="+catid;
								}
							</script>';
		}
		
		$errortips = $this->fields[$field]['errortips'];
		if($errortips){ 
			$this->formValidator .= '$("#'.$field.'").formValidator({onshow:"",onfocus:"'.$errortips.'"}).inputValidator({min:1,onerror:"'.$errortips.'"});';
		}
		return form::select_category('category_'.$this->modelid,$value,'name="info['.$field.']" id="'.$field.'"','≡ 请选择栏目 ≡',0,-1,1);
	}
